const promise = new Promise((resolve, reject) => {
    console.log(1);
    console.log(2);
});

promise.then(() => {
    console.log(3);
});

console.log(4);

// 1 -> 2 -> 4

// promise 没有修改状态， then不会执行